package com.rs.model;

import java.io.Serializable;
import java.util.Date;

public class ZhOnBusiness implements Serializable {
    private Integer onId;

    private Integer onUid;

    private String onTraffic;

    private Integer onOnetrip;

    private String onMdcity;

    private Date onKtime;

    private Date onJtime;

    private Double onDays;

    private String onReason;

    private Integer onAuid;

    private Integer onAudit;

    private static final long serialVersionUID = 1L;
    
    private String onUname;//用户名 
    
    private String onAuname;//审核人姓名
    
	public String getOnAuname() {
		return onAuname;
	}

	public void setOnAuname(String onAuname) {
		this.onAuname = onAuname;
	}

	private Integer pageNum;//页码

    @Override
	public String toString() {
		return "ZhOnBusiness [onId=" + onId + ", onUid=" + onUid + ", onTraffic=" + onTraffic + ", onOnetrip="
				+ onOnetrip + ", onMdcity=" + onMdcity + ", onKtime=" + onKtime + ", onJtime=" + onJtime + ", onDays="
				+ onDays + ", onReason=" + onReason + ", onAuid=" + onAuid + ", onAudit=" + onAudit + ", onUname="
				+ onUname + ", onAuname=" + onAuname + ", pageNum=" + pageNum + "]";
	}

	public String getOnUname() {
		return onUname;
	}

	public void setOnUname(String onUname) {
		this.onUname = onUname;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}
    

    public Integer getOnId() {
        return onId;
    }

    public void setOnId(Integer onId) {
        this.onId = onId;
    }

    public Integer getOnUid() {
        return onUid;
    }

    public void setOnUid(Integer onUid) {
        this.onUid = onUid;
    }

    public String getOnTraffic() {
        return onTraffic;
    }

    public void setOnTraffic(String onTraffic) {
        this.onTraffic = onTraffic == null ? null : onTraffic.trim();
    }

    public Integer getOnOnetrip() {
        return onOnetrip;
    }

    public void setOnOnetrip(Integer onOnetrip) {
        this.onOnetrip = onOnetrip;
    }

    public String getOnMdcity() {
        return onMdcity;
    }

    public void setOnMdcity(String onMdcity) {
        this.onMdcity = onMdcity == null ? null : onMdcity.trim();
    }

    public Date getOnKtime() {
        return onKtime;
    }

    public void setOnKtime(Date onKtime) {
        this.onKtime = onKtime;
    }

    public Date getOnJtime() {
        return onJtime;
    }

    public void setOnJtime(Date onJtime) {
        this.onJtime = onJtime;
    }

    public Double getOnDays() {
        return onDays;
    }

    public void setOnDays(Double onDays) {
        this.onDays = onDays;
    }

    public String getOnReason() {
        return onReason;
    }

    public void setOnReason(String onReason) {
        this.onReason = onReason == null ? null : onReason.trim();
    }

    public Integer getOnAuid() {
        return onAuid;
    }

    public void setOnAuid(Integer onAuid) {
        this.onAuid = onAuid;
    }

    public Integer getOnAudit() {
        return onAudit;
    }

    public void setOnAudit(Integer onAudit) {
        this.onAudit = onAudit;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ZhOnBusiness other = (ZhOnBusiness) that;
        return (this.getOnId() == null ? other.getOnId() == null : this.getOnId().equals(other.getOnId()))
            && (this.getOnUid() == null ? other.getOnUid() == null : this.getOnUid().equals(other.getOnUid()))
            && (this.getOnTraffic() == null ? other.getOnTraffic() == null : this.getOnTraffic().equals(other.getOnTraffic()))
            && (this.getOnOnetrip() == null ? other.getOnOnetrip() == null : this.getOnOnetrip().equals(other.getOnOnetrip()))
            && (this.getOnMdcity() == null ? other.getOnMdcity() == null : this.getOnMdcity().equals(other.getOnMdcity()))
            && (this.getOnKtime() == null ? other.getOnKtime() == null : this.getOnKtime().equals(other.getOnKtime()))
            && (this.getOnJtime() == null ? other.getOnJtime() == null : this.getOnJtime().equals(other.getOnJtime()))
            && (this.getOnDays() == null ? other.getOnDays() == null : this.getOnDays().equals(other.getOnDays()))
            && (this.getOnReason() == null ? other.getOnReason() == null : this.getOnReason().equals(other.getOnReason()))
            && (this.getOnAuid() == null ? other.getOnAuid() == null : this.getOnAuid().equals(other.getOnAuid()))
            && (this.getOnAudit() == null ? other.getOnAudit() == null : this.getOnAudit().equals(other.getOnAudit()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getOnId() == null) ? 0 : getOnId().hashCode());
        result = prime * result + ((getOnUid() == null) ? 0 : getOnUid().hashCode());
        result = prime * result + ((getOnTraffic() == null) ? 0 : getOnTraffic().hashCode());
        result = prime * result + ((getOnOnetrip() == null) ? 0 : getOnOnetrip().hashCode());
        result = prime * result + ((getOnMdcity() == null) ? 0 : getOnMdcity().hashCode());
        result = prime * result + ((getOnKtime() == null) ? 0 : getOnKtime().hashCode());
        result = prime * result + ((getOnJtime() == null) ? 0 : getOnJtime().hashCode());
        result = prime * result + ((getOnDays() == null) ? 0 : getOnDays().hashCode());
        result = prime * result + ((getOnReason() == null) ? 0 : getOnReason().hashCode());
        result = prime * result + ((getOnAuid() == null) ? 0 : getOnAuid().hashCode());
        result = prime * result + ((getOnAudit() == null) ? 0 : getOnAudit().hashCode());
        return result;
    }
}